/*
 * Copyright @ JuCheap All rights reserved.
 * 
 * 功能描述:部门扩展服务接口文件
 * 作者: JuCheap
 * 时间: 12/01/2019 18:41:39
 */
using JuCheap.Core.Model;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace JuCheap.Core.IService
{
    /// <summary>
    /// 部门扩展服务接口
    /// </summary>	
    public interface IDepartmentService
	{
        /// <summary>
        /// 获取部门表格树状结构
        /// </summary>
        /// <param name="filter"></param>
        /// <returns></returns>
        Task<IList<SysDepartmentDto>> GetTableTreeAsync(SysDepartmentFilter filter);

        /// <summary>
        /// 加载部门树状结构
        /// </summary>
        /// <returns></returns>
        Task<List<SelectTreeResponseDto>> GetSimpleTreeAsync();
    }
}
